package com.woniu.model.mallSystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lzj
 * @since 2023-10-19
 */
@Getter
@Setter
  @TableName("t_freight")
@ApiModel(value = "Freight对象", description = "")
public class Freight implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("运费表id")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("物流公司")
      private String hogisticsCompany;

      @ApiModelProperty("寄送地址")
      private String shippingAddress;

      @ApiModelProperty("低于1kg")
      private Integer lowWeight;

      @ApiModelProperty("1kg＜商品≤2kg")
      private Integer middleWeight;

      @ApiModelProperty("2kg＜商品≤3kg")
      private Integer heavyWeight;

      @ApiModelProperty("每增加1kg，增加运费")
      private Integer addWeightCost;


}
